<?php
/**
 * @authors alex (20779512@qq.com)
 * @date    2014-03-24 17:21:30
 * @version 1.0
 */

 if(IS_WIN){
	define('BASE_PATH',$_SERVER['DOCUMENT_ROOT']);
 }else{
 	define('BASE_PATH',__ROOT__);
 }

 return array(

 	'SITE_PATH' => BASE_PATH,

	'APP_GROUP_LIST' => 'Wap,Admin', //项目分组设定

	'DEFAULT_GROUP'  => 'Wap', //默认分组

	'UPLOAD_PATH' => '/uploads/', //上传保存路径

	'THUMB_IMAGE' => true, //图片是否等比例缩放

	'IMAGE_MAX_WIDTH' => 2000,  //图片最大宽度

	//预载入配置文件
	'LOAD_EXT_CONFIG' 		=> 'db,info,ueditor,upfile,route,cache,yongjin,weixin,wxpay,alipay,sms',		

	'DB_DIR' => './databak/', //数据库备份目录

	//自动加载类
	'APP_AUTOLOAD_PATH'     =>'@.ORG',

	/*Cookie配置*/
	'COOKIE_PATH'           => '/',     		// Cookie路径
    'COOKIE_PREFIX'         => 'kf01',      	// Cookie前缀 避免冲突

	/*定义模版标签*/
	'TMPL_L_DELIM'   		=>'<{',			//模板引擎普通标签开始标记

	'TMPL_R_DELIM'			=>'}>',				//模板引擎普通标签结束标记

	'TMPL_FILE_DEPR'=>'_',

	'URL_CASE_INSENSITIVE' =>true, 				//不区分大小写

	#'SHOW_PAGE_TRACE'		=>true,

);

?>